package com.huayal.common.constant;

/**
 * 商品模块常量
 */
public class ProductConstant {

    public enum AttrEnum{
        ATTR_TYPE_BASE(1,"基本信息"),ATTR_TYPE_SALE(0,"销售属性");

        private int code;
        private String message;
        AttrEnum(int code, String message) {
            this.code=code;
            this.message=message;
        }

        public int getCode() {
            return code;
        }

        public void setCode(int code) {
            this.code = code;
        }

        public String getMessage() {
            return message;
        }

        public void setMessage(String message) {
            this.message = message;
        }
    }

    public enum SpuEnum{
        NEW_CREATE(0,"新建"),PUT_ON(1,"上架"),TAKEN_DOWN(2,"下架");

        private int code;
        private String msg;

        SpuEnum(int i, String s) {
        }

        public int getCode() {
            return code;
        }

        public void setCode(int code) {
            this.code = code;
        }

        public String getMsg() {
            return msg;
        }

        public void setMsg(String msg) {
            this.msg = msg;
        }
    }
}
